import { main, HomePage, ChangePassword, ExtractMoney, BeneficiaryList, Verified, BankCardList, AddBankCard, AmazonList, RequestAmazon } from './pages/pages';
import * as settlement from './models/settlement';
const routes = [
    {
        path: "/main",
        component: main,
        children: [
            {
                path: '/main/homepage',
                component: HomePage,
            }, {
                path: "/main/extractMoney",
                component: ExtractMoney,
            }, {
                path: '/main/beneficiary-list',
                component: BeneficiaryList,
            }, {
                path: "/main/verified",
                component: Verified,
            }, {
                path: '/main/bankcard-list',
                component: BankCardList,
            }, {
                path: '/main/addBankCard',
                component: AddBankCard,
            }, {
                path: '/main/amazon-list',
                component: AmazonList,
            }, {
                path: '/main/requestAmazon',
                component: RequestAmazon,
            }, {
                path: "'/main/changePassword",
                component: ChangePassword,
            },
        ]
    }
];

export default {
    routes,
    models: [settlement]
};